package com.huatu.tiku.user.web;

import com.google.common.collect.Lists;
import org.springframework.web.bind.annotation.RequestHeader;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.List;

/**
 * @author hanchao
 * @date 2017/8/12 18:30
 */
@RestController
@RequestMapping("/users/message")
public class UserMessageController {

    @RequestMapping("")
    public List<String> findMessage(@RequestHeader int userId){
        return Lists.newArrayList("测试1","测试2");
    }
}
